package com.example.service;

import com.example.pojo.Emp;
import com.example.pojo.PageData;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;

@Service
public interface EmpService {
    PageData page(String name, Integer gender, LocalDate begin, LocalDate end, Integer page, Integer pageSize);

    void delect(List<Integer> ids);

    void insert(Emp emp);

    Emp select(Integer id);

    void updata(Emp emp);

    Emp login(Emp emp);
}
